package com.zyg.apart.service;

import com.github.pagehelper.PageInfo;
import com.zyg.apart.model.Leasecontract;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface LeasecontractService {
    PageInfo<Map<String, Object>> getAllLC(Integer currentPage);

    Map<String,Object> getLCById(Integer id);

    int editLC(Leasecontract leasecontract);

    int addLC(Leasecontract leasecontract);

    int delLCById(Integer id);
}
